package com.oracle.pojo.dto;

import com.oracle.pojo.Member;

import java.io.Serializable;
import java.util.Date;

/**
 * Member的领域传输对象
 */
public class MemberDTO implements Serializable {

    private String requestCode;

    private Integer id;

    private String username;

    private String loginname;

    private String pwd;

    private Date createdate;

    private Date modifydate;

    private String image;

    private Integer status;

    private String phone;

    private String email;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname == null ? null : loginname.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Date getModifydate() {
        return modifydate;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getRequestCode() {
        return requestCode;
    }

    public void setRequestCode(String requestCode) {
        this.requestCode = requestCode;
    }

    public MemberDTO() {}

    @Override
    public String toString() {
        return "MemberDTO{" +
                "requestCode='" + requestCode + '\'' +
                ", id=" + id +
                ", username='" + username + '\'' +
                ", loginname='" + loginname + '\'' +
                ", pwd='" + pwd + '\'' +
                ", createdate=" + createdate +
                ", modifydate=" + modifydate +
                ", image='" + image + '\'' +
                ", status=" + status +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}
